package cn.kgc.dto;

import java.io.Serializable;

import lombok.*;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 商品三级分类(PmsCategory)表实体类
 *
 * @author makejava
 * @since 2022-11-27 10:34:57
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel
@SuppressWarnings("serial")
public class PmsCategoryUpdateDTO implements Serializable {
    @ApiModelProperty(name = "id", value = "主键", dataType = "int")
    private Long id; //主键


    @ApiModelProperty(name = "name", value = "分类名称", dataType = "java.lang.String")
    private String name;    //分类名称


    @ApiModelProperty(name = "parentCid", value = "父分类id", dataType = "java.lang.Long")
    private Long parentCid;    //父分类id


    @ApiModelProperty(name = "catLevel", value = "层级", dataType = "java.lang.Integer")
    private Integer catLevel;    //层级


    @ApiModelProperty(name = "sort", value = "排序", dataType = "java.lang.Integer")
    private Integer sort;    //排序


    @ApiModelProperty(name = "icon", value = "图标地址", dataType = "java.lang.String")
    private String icon;    //图标地址


    @ApiModelProperty(name = "productUnit", value = "计量单位", dataType = "java.lang.String")
    private String productUnit;    //计量单位


    @ApiModelProperty(name = "productCount", value = "商品数量", dataType = "java.lang.Integer")
    private Integer productCount;    //商品数量


    @Version
    private int version;   //版本


}
